import Fl from '@/views/login/fl.vue'
import Gwc from '@/views/login/gwc.vue'
import Login from '@/views/login/login.vue'
import Ss from '@/views/login/ss.vue'
import Sy from '@/views/login/sy.vue'
import Wd from '@/views/login/wd.vue'
import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/login',
      component: Login,
      children: [
        {
          path: 'sy',
          component: Sy,
        },
        {
          path: 'fl',
          component: Fl,
        },
        {
          path: 'gwc',
          component: Gwc,
        },
        {
          path: 'wd',
          component: Wd,
        },
      ]
    },
    {
      path: '/ss',
      component: Ss,
    }
  ],
})

export default router
